Skip to content

[docs] Add full pyproject.toml example to dynamic metadata docs#2769

Merged
messense merged 1 commit intoPyO3:mainfrom
ddelange:patch-1
Oct 12, 2025
Merged

[docs] Add full pyproject.toml example to dynamic metadata docs#2769
messense merged 1 commit intoPyO3:mainfrom
ddelange:patch-1

Conversation

@ddelange
Copy link
Copy Markdown
Contributor

@ddelange ddelange commented Oct 11, 2025

Hi 👋

Took me a while to figure out this exhaustive list as part of oconnor663/blake3-py#88.

💥 maturin failed
  Caused by: pyproject.toml at /Users/runner/work/blake3-py/blake3-py/pyproject.toml is invalid
Error: The process '/Users/runner/work/_temp/a0ba2459-b23c-41be-b302-c3f2eeef0ed3/maturin' failed with exit code 1
  Caused by: TOML parse error at line 1, column 1
    at ExecState._setResult (/Users/runner/work/_actions/PyO3/maturin-action/v1.49.4/dist/index.js:1823:25)
  |
    at ExecState.CheckComplete (/Users/runner/work/_actions/PyO3/maturin-action/v1.49.4/dist/index.js:1806:18)
1 | [project]
    at ChildProcess.<anonymous> (/Users/runner/work/_actions/PyO3/maturin-action/v1.49.4/dist/index.js:1700:27)
  | ^^^^^^^^^
    at ChildProcess.emit (node:events:524:28)
missing field `name`
    at maybeClose (node:internal/child_process:1104:16)

    at Socket.<anonymous> (node:internal/child_process:456:11)
Error: The process '/Users/runner/work/_temp/a0ba2459-b23c-41be-b302-c3f2eeef0ed3/maturin' failed with exit code 1
    at Socket.emit (node:events:524:28)
    at Pipe.<anonymous> (node:net:343:12)

@messense messense merged commit a9fa2a4 into PyO3:main Oct 12, 2025
6 checks passed
@ddelange
Copy link
Copy Markdown
Contributor Author

thanks for the quick review @messense! shall I open two new bug tickets for the bullet points above?

messense pushed a commit that referenced this pull request Oct 14, 2025
> I didn't understand why maturin
[fails](https://github.com/oconnor663/blake3-py/actions/runs/18435038379/job/52527366829#step:10:66)
if I try to make name dynamic too.

docs for one of the issues I mentioned in
#2769

> Also License will be missing from the wheel even if [project] is not
defined at all, which is also undocumented, see
oconnor663/blake3-py#69.

this one looks like an actual bug in maturin to me, but I might be
mistaken.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants